package com.momo.epidemic.mapper;

import com.momo.epidemic.beans.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {

    @Select(value = "SELECT  user_id,account,password,user_name from users  " +
            "WHERE account = #{account} " +
            "and del_flag is null or del_flag = 0;")
    UserInfo findByAccount(String account);
}
